package com.tinem.platform.module.pojo.co;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className GatewayHeadName
 * @description TODO
 * @site 
 * @company 
 * @create 2020-09-29 16:05
 */
public class JwtPropertyName {

    // -------------------------------------【JWT一定存在的属性】-------------------------------------------------------
    // jwt id
    public final static String JTI = "jti";
    public final static String AUD = "aud";
    public final static String ACCESS_TOKEN = "access_token";
    public final static String TOKEN_TYPE = "token_type";
    public final static String REFRESH_TOKEN = "refresh_token";
    // jwt 过期时间，单位：秒
    public final static String EXP = "exp";
    public final static String SCOPE = "scope";
    public final static String GRANT_TYPE = "grant_type";
    public final static String CLIENT_ID = "client_id";

    // -------------------------------------【JWT可能存在的属性】-------------------------------------------------------
    public final static String USER_ID = "userId";
}
